/*
PHPwork上传文件管理器
*/

/* 删除选择的文件 */
.phpwork-uploader_list{ user-select:none;position: relative;}
.phpwork-uploader_list .phpwork-item {float: left; min-width: 80px;height: 80px; position: relative;margin: 0 10px 10px 0; border: 1px solid #ddd; text-align: center; background: #fff;user-select:none;}
.phpwork-uploader_list .phpwork-item a{line-height:80px;}
.phpwork-uploader_list .phpwork-item a img{ max-height:80px;}
.phpwork-uploader_list .phpwork-item > img{ position: absolute; top: -10px;  right: -10px;  cursor: pointer;height: 22px;   width: 22px;background: rgba(153, 153, 153, 0.7); border-radius: 50%; display: none;}
.phpwork-uploader_list .phpwork-item:hover > img{ display: inline;}

/* + 按钮 */
.phpwork-uploader_list .phpwork-btn_upload{float: left;width:80px;height:80px;margin: 0 10px 10px 5px;border:1px solid #ccc;line-height: 80px;text-align: center;cursor: pointer;}
.phpwork-uploader_list .phpwork-btn_upload .layui-icon{color: #ccc;font-size:30px}

/* 文件弹窗 */
.phpwork-file_library .layui-layer-title{ border-bottom: none; background-color: #fff ;}

.phpwork-file_list_head{padding:10px;user-select:none;}
.phpwork-file_list_head .phpwork-btn_delete{margin:0 10px;padding:5px 10px;border: 1px solid #e7505a;color:#e7505a;font-size:12px;cursor: pointer; border-radius: 3px;}
.phpwork-file_list_head .phpwork-btn_upload{margin:0 10px;padding:5px 10px;border: 1px solid #16bce2;color:#16bce2;font-size:12px;cursor: pointer; border-radius: 3px;}
.phpwork-file_list_head .phpwork-btn_delete i,.phpwork-file_list_head .phpwork-btn_upload i{font-size:12px;}

.phpwork-file_list_body{padding:10px;overflow: auto;height:380px;user-select:none;}

.phpwork-file_list_body div.phpwork-item{position: relative;float:left;margin:10px;padding:10px;width:120px;height:135px;cursor: pointer; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.05);}
.phpwork-file_list_body div.phpwork-item:hover{border: 1px solid #16bce2;}
.phpwork-file_list_body div.phpwork-item>img{width:120px;height:120px;}
.phpwork-file_list_body div.phpwork-item .phpwork-file_name{text-align: center;white-space: nowrap;overflow: hidden; text-overflow:ellipsis;}
.phpwork-file_list_body div.phpwork-item .phpwork-mask{display:none;position: absolute;top: 0;bottom: 0; left: 0;right: 0;background: rgba(0, 0, 0, 0.5);text-align: center;border-radius: 6px;line-height: 150px;}
